/**
 * 
 */
package com.broadtext.rms.system.service;

import com.broadtext.common.exp.DaoException;
import com.broadtext.common.service.IEntityService;
import com.broadtext.rms.system.model.SysDict;

/**
 * 
 * <p>ClassName: ISysDictService</p>
 * <p>Description: 字典服务层接口</p>
 * <p>Author: xieshuang</p>
 * <p>Date: 2017-4-5</p>
 */
public interface ISysDictService extends IEntityService<SysDict> {
    
    /**
     * <p>Description: 更新字典</p>
     * @param dict 字典model
     * @return 更新结果
     * @throws DaoException 异常
     */
    public String updateDict(SysDict dict) throws DaoException;

    /**
     * <p>Description: 插入字典</p>
     * @param dict 字典表model 
     * @return  操作结果
     * @throws DaoException 异常
     */
    public String insertDict(SysDict dict) throws DaoException;

    /**
     * 
     * <p>Description: 删除字典详情</p>
     * @param idArray 主键数组
     * @param updateUser 更新人
     * @throws DaoException 异常
     */
    public void deleteDictDetail(String[] idArray, String updateUser) throws DaoException;
}
